home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / NEWSOFT / AUGUST / POV302 / pov302 / texsamps / metals / inc / stage_xy next >
Text File  |  1995-03-10  |  2KB  |  79 lines

  1. // Persistence Of Vision Raytracer version 3.0 sample file.
  2. // Used in conjunction with BRASSES.POV, COPPERS.POV, CHROMES.POV, & SILVERS.POV
  3. // to demonstrate the textures in metals.inc.
  4.  
  5. camera {
  6.    location <0, 0, -60>
  7.    direction <0, 0,  1.5>
  8.    right x*1.33
  9.    look_at 0*y
  10. }
  11.  
  12. light_source {<-50, 50, -1000> color Gray50}
  13. light_source {<150, 50, -200> color Gray25}
  14.  
  15. //background { color Gray50 }
  16.  
  17. sky_sphere {
  18.     pigment {
  19.         gradient y
  20.         color_map {[0, 1  color Gray50 color Gray80]}
  21.     }
  22. }
  23.  
  24. plane { z, 2.5 pigment {Gray50} finish { ambient 0.45 } }
  25.  
  26. #declare Stack =
  27. union {
  28.    sphere{<0, 4, 0>, 1}
  29.    object {Disk_Y translate 2*y}
  30.    object {UnitBox}
  31. }
  32.  
  33. #declare Dist = 0
  34.  
  35. #declare Row1 =  14
  36. #declare Row2 =   7
  37. #declare Row3 =   0
  38. #declare Row4 =  -7
  39. #declare Row5 = -14
  40.  
  41. #declare Col1 = -18
  42. #declare Col2 =  -9
  43. #declare Col3 =   0
  44. #declare Col4 =   9
  45. #declare Col5 =  18
  46.  
  47.  
  48. object { Stack texture{T01} translate <Col1 Row1 Dist> }
  49. object { Stack texture{T02} translate <Col2 Row1 Dist> }
  50. object { Stack texture{T03} translate <Col3 Row1 Dist> }
  51. object { Stack texture{T04} translate <Col4 Row1 Dist> }
  52. object { Stack texture{T05} translate <Col5 Row1 Dist> }
  53.  
  54. object { Stack texture{T06} translate <Col1 Row2 Dist> }
  55. object { Stack texture{T07} translate <Col2 Row2 Dist> }
  56. object { Stack texture{T08} translate <Col3 Row2 Dist> }
  57. object { Stack texture{T09} translate <Col4 Row2 Dist> }
  58. object { Stack texture{T10} translate <Col5 Row2 Dist> }
  59.  
  60. object { Stack texture{T11} translate <Col1 Row3 Dist> }
  61. object { Stack texture{T12} translate <Col2 Row3 Dist> }
  62. object { Stack texture{T13} translate <Col3 Row3 Dist> }
  63. object { Stack texture{T14} translate <Col4 Row3 Dist> }
  64. object { Stack texture{T15} translate <Col5 Row3 Dist> }
  65.  
  66. object { Stack texture{T16} translate <Col1 Row4 Dist> }
  67. object { Stack texture{T17} translate <Col2 Row4 Dist> }
  68. object { Stack texture{T18} translate <Col3 Row4 Dist> }
  69. object { Stack texture{T19} translate <Col4 Row4 Dist> }
  70. object { Stack texture{T20} translate <Col5 Row4 Dist> }
  71.  
  72. object { Stack texture{T21} translate <Col1 Row5 Dist> }
  73. object { Stack texture{T22} translate <Col2 Row5 Dist> }
  74. object { Stack texture{T23} translate <Col3 Row5 Dist> }
  75. object { Stack texture{T24} translate <Col4 Row5 Dist> }
  76. object { Stack texture{T25} translate <Col5 Row5 Dist> }
  77.  
  78.  
  79.